#app user自定义url
from django.conf.urls import url
#from django.contrib.auth.views import login
from django.contrib.auth.views import LoginView
from . import views
urlpatterns = [
    url(r'^login/$', LoginView.as_view(template_name='users/login.html'),name='login'),
    url(r'^logout/$',views.logout_view,name='logout'),
    url(r'^register/$',views.register,name='register'),
]